<template>
  <van-sticky>
    <van-nav-bar
      title="用户注册"
      left-text="返回"
      left-arrow
      @click-left="$router.replace('/login')"
    />
  </van-sticky>
  <van-form>
    <van-cell-group inset>
      <van-field
        label="账号"
        placeholder="请填写账号"
        :rules="[{ required: true, message: '请填写账号！' }]"
      />
      <van-field
        type="password"
        label="密码"
        placeholder="请填写密码"
        :rules="[{ required: true, message: '请填写密码' }]"
      />

      <van-field
        type="password"
        label="确认密码"
        placeholder="请填写确认密码"
        :rules="[{ required: true, message: '请填写密码' }]"
      />

      <van-field
        label="姓名"
        placeholder="请填写姓名"
        :rules="[{ required: true, message: '请填写姓名！' }]"
      />
    </van-cell-group>
    <div style="margin: 16px">
      <van-button round block type="primary"> 确定 </van-button>
    </div>
  </van-form>
</template>

<script setup>
</script>


<style scoped>
</style>
